home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 66
/
Vol 66.iso
/
games
/
doodle_d.swf
/
scripts
/
frame_68
/
DoAction_4.as
< prev
next >
Wrap
Text File
|
2013-04-24
|
675b
|
29 lines
function spawn()
{
if(eNumb < 5)
{
eAmount++;
eNumb++;
depth = _root.getNextHighestDepth();
_root.attachMovie("en13","e" + eNumb,depth);
e = eval("e" + eNumb);
e._x = Math.random() * 600 + 20;
e._y = Math.random() * 40 + 640;
e.che = eAmount;
}
if(eNumb2 < 5)
{
eAmount++;
eNumb2++;
depth = _root.getNextHighestDepth();
_root.attachMovie("en14","e" + (eNumb2 + 5),depth);
e = eval("e" + (eNumb2 + 5));
e._x = Math.random() * 640;
e._y = 640 + Math.random() * 100;
e.che = eAmount;
}
}
var eNumb = 0;
var eNumb2 = 0;
var eAmount = 0;